package com.scott.ch04.configuration;

import com.scott.ch24.ch04.factorybean.StudentFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 黄后林
 * @version 1.0
 * @date 2021-11-22 01:33:06
 */
@Configuration
public class ScottConfiguration {

    @Bean
    public StudentFactoryBean studentFactoryBean(){
        return new StudentFactoryBean();
    }
}
